package com.eCommerce.server.corebackend.dao;

import java.util.List;
import java.util.Set;

import com.eCommerce.corecontract.criteria.ComposantCriteria;
import com.eCommerce.corecontract.dto.CategorieDTO;
import com.eCommerce.corecontract.dto.ComposantDTO;
import com.eCommerce.corecontract.exception.EcommerceException;

public interface IComposantDAO extends IDataAccessObject {
	void delete(ComposantDTO composantDTO) throws EcommerceException;

	List find(ComposantCriteria composantCriteria)
			throws EcommerceException;

	List findAll() throws EcommerceException;

	ComposantDTO findOne(ComposantDTO composantDTO)
			throws EcommerceException;

	Long insert(ComposantDTO composantDTO) throws EcommerceException;

	void update(ComposantDTO composantDTO) throws EcommerceException;
	List findComposantByIdCategorie(CategorieDTO categorieDTO)throws EcommerceException;
}
